package com.tenchael.iblog.service;

import com.tenchael.iblog.domain.User;

/**
 * Created by tenchael on 25/12/2017.
 */
public interface UserService {

	User findById(Long id);

	User findByUsername(String username);

	User findByEmail(String email);

	User findByUsernameOrEmail(String username, String email);

	User addUser(User user);

}
